package cn.tedu.imop.basic.dao.mapper;
import cn.tedu.imop.basic.entity.Business;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.List;

@Mapper
/**商家mapper对象*/
public interface BusinessMapper {
      List<Business> selectList(Business business);
      Business selectOne(Serializable id);
      int insert(Business business);
      int insertIntroduction(Business business);
      int insertBatch(List<Business> category);
      int update(Business category);
      int delete(Serializable id);
      int deleteBatch(List<? extends Serializable> ids);

}
